import { defineStore } from 'pinia';

export const thisPinia = defineStore('user', {
    state: () => {
        return {
            token: '',
            theme_index: 0
        };
    },
    actions: {
        _token(e) {
            this.token = e
        },
        _theme(e) {
            this.theme_index = e
        },
    },
    persist: true
});